package com.ruoyi.api.domain.recipe;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.List;

/**
 * 食谱类别标签对象 recipe_tag
 * 
 * @author ruoyi
 * @date 2024-11-10
 */
public class TagEntity
{
    /** 标签ID */
    private Long tagId;

    /** 标签名称 */
    private String tagName;

    private List<CategoryEntity> detailContent;

    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }

    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }

    public List<CategoryEntity> getDetailContent() {
        return detailContent;
    }

    public void setDetailContent(List<CategoryEntity> detailContent) {
        this.detailContent = detailContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tagId", getTagId())
            .append("tagName", getTagName())
            .toString();
    }
}
